package com.tensquare.raddit.costomer;


import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "child1")
public class Customer4 {

    @RabbitHandler
    public  void getMsg(String msg){
        System.out.println("child1"+msg);
    }
}
